<template>
  <div>
    <NavBar :title="title" />
    <van-search
      placeholder="输入食物名称查找"
      style="width: 100%; height: 40px; marign-top: -20px"
      shape="round"
      @click="$router.push('/shopSearch')"
    />
  </div>
</template>
<script setup>
defineProps(["title"]);
import NavBar from "../../components/NavBar.vue";
</script>
<style scoped>
</style>